package com.genius.workflow.config;

import java.net.URL;

import com.genius.workflow.util.DBTools;

/**
 * 默认配置
 * @author woy
 * @version 1.2 
 */
public interface DefaultConfiguration {

	String file_separator = System.getProperty( "file.separator" );
	String line_separator = System.getProperty( "line.separator" );
	
	String path_separator = System.getProperty( "path.separator" );
	
	String home = System.getProperty("user.dir");
	
	// 日志文件默认的位置
	URL LOG_CFG_PATH = DefaultConfiguration.class.getResource("log4j.properties");
	// 默认配置文件的位置
	URL DEFAULT_CFG_NAME = DefaultConfiguration.class.getResource("default.xml");
	// 缓存配置文件的位置
	URL CACHE_CFG_PATH = DefaultConfiguration.class.getResource("ehcache.xml");
	// 配置文件的位置
	String CLIENT_CFG_PATH = home+file_separator+"conf"+file_separator+"jinhu.xml";
	// 表结构信息文件的位置
	String TABLE_CFG_PATH = home+file_separator+"conf"+file_separator+"table.xml";
	String cache_file = "conf";
	
	String separator_arr = "Ψ";//`
	String separator_char = "卍";//~
//	String separator_arr = "§";//※
	String separator_douhao = ",";//※
	
	String TableColoumnName = "tableColoumnName";
	String TableColoumnValue = "tableColoumnValue";
	
	String querySql = "runSql";
	
	
	String CACHE_DIR = home+file_separator+"cache"+file_separator;
	
	String TreePathTpl = "000";
	
	String menuRAM = "menuRAM";
	String menuRAM_tree = "menuRAM_tree";

	String AuthorizationInfo = "AuthorizationInfo";
	DBTools.DBType geniusDBType = DBTools.DBType.MySql;
}

